﻿using Himp.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Outpatient
{
    /// <summary>
    /// 门诊诊断记录
    /// </summary>
    public class OtpDiagRec : Entity<Guid>, IMultiTenant
    {
        /// <summary>
        /// 
        /// </summary>
        public Guid OtpMdtrtRecId { get; set; }

        /// <summary>
        /// 就诊记录
        /// </summary>
        public OtpMdtrtRec OtpMdtrtRec { get; set; }

        /// <summary>
        /// 中医诊断标志
        /// </summary>
        public int TcmDiagFlag { get; set; }

        /// <summary>
        /// 诊断类别代码
        /// </summary>
        public string DiagTypeCode { get; set; }

        /// <summary>
        /// 诊断类别名称
        /// </summary>
        public string DiagTypeName { get; set; }

        /// <summary>
        /// 西医诊断代码
        /// </summary>
        public string DiagCode { get; set; }

        /// <summary>
        /// 西医诊断名称
        /// </summary>
        public string DiagName { get; set; }

        /// <summary>
        /// 中医病名代码
        /// </summary>
        public string TcmDiseCode { get; set; }

        /// <summary>
        /// 中医病名名称
        /// </summary>
        public string TcmDiseName { get; set; }

        /// <summary>
        /// 中医证候代码
        /// </summary>
        public string TcmsympCode { get; set; }

        /// <summary>
        /// 中医证候
        /// </summary>
        public string Tcmsymp { get; set; }

        /// <summary>
        /// 科室id
        /// </summary>
        public Guid DeptId { get; set; }

        /// <summary>
        /// 医师id
        /// </summary>
        public Guid DrId { get; set; }

        /// <summary>
        /// 诊断时间
        /// </summary>
        public DateTime DiagTime { get; set; }

        /// <summary>
        /// 诊断排序号
        /// </summary>
        public int Srtno { get; set; }

        /// <summary>
        /// 疑似标识
        /// </summary>
        public bool SuspFlag { get; set; }

        /// <summary>
        /// 上传标识
        /// </summary>
        public bool UpdFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool ValiFlag { get; set; }

        public Guid? TenantId { get; set; }
    }
}
